#include "stdafx.h"

#include "..\OtlCore\sql\connection.h"

namespace OtlUnitTest
{

using namespace Microsoft::VisualStudio::CppUnitTestFramework;

TEST_CLASS(ConnectionTest)
{
public:
	TEST_METHOD(Connection_ConnectionString_Succeeds)
	{
		auto conn = Otl::Sql::Connection{ L"Driver={ODBC Driver 11 for SQL Server};SERVER=.\\SQLEXPRESS;DATABASE=master;Trusted_Connection=Yes" };

		conn.Open()
			.wait();
	}
};

}